<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>{$tkd.title|parseTPL}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTPL}" />
    <meta name="description" content="{$tkd.description|parsetpl}" />
    <meta property="wb:webmaster" content="" />
    <meta property="qc:admins" content="" />
    {include file="/system/head"}
</head>
<body>
{include file="/system/header"}
<section class="w-all">
    <div class="container clearfix mt10">
        <div class="w-left">
            <div class="card">
                <div class="header line">
                    <h3>站长推荐</h3>
                </div>
                <div class="body" style="height:245px;overflow: hidden">
                    <div class="novellist">
                        {block method="recommend" name=list recommendid=2 num=4}
                        {loop=$list}
                        <div class="item{if $key%2==0} ml15{/if}">
                            <div class="item-left">
                                <a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" title="{$loop.data.novel.name}"><img src="{$loop.data.novel.cover}" alt="{$loop.data.novel.name}"></a>
                            </div>
                            <div class="item-right">
                                <dl>
                                    <dt><a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" title="{$loop.data.novel.name}">{$loop.data.novel.name}</a></dt>
                                    <dd>作者：<a href="{link=author.space.index authorid=$loop.data.author.id pinyin=$loop.data.author.pinyin name=$loop.data.author.name}" title="{$loop.data.author.name} 作品大全">{$loop.data.author.name}</a></dd>
                                    <dd class="intro">{$loop.data.novel.intro}</dd>
                                </dl>
                            </div>
                        </div>
                        {/loop}
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <div class="card  mt20">
                <div class="header line">
                    <h3>分类强推</h3>
                </div>
                <div class="body">
                    <div class="novellist category" style="height:508px">
                        {block method="category.list" name=list withall=0 pid=1 num=4}
                        {section loop=$list item=$loop name=ii}
                        <div class="item {=$ii.index%2?'ml15':''}">
                            {block method="novel.list" name=list order=allvisit category=$loop.id num=11}
                            {section loop=$list limit=1}
                            <div class="item-left">
                                <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}"><img src="{$loop.novel.cover}" alt="{$loop.novel.name}"></a>
                            </div>
                            <div class="item-right">
                                <dl>
                                    <dt><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></dt>
                                    <dd>分类：<a href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}" title="{$loop.category.name}小说">{$loop.category.name}</a></dd>
                                    <dd>作者：<a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></dd>
                                    <dd>收藏：{$loop.data.mark}</dd>
                                </dl>
                            </div>
                            {/section}
                            <div class="clear"></div>
                            <div class="item-list">
                                <ul>
                                    {section loop=$list skip=1}
                                    <li><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a> / {$loop.author.name}</li>
                                    {/section}
                                </ul>
                            </div>
                        </div>
                        {if $ii.index%2 && !$ii.last}
                        <div class="item-line"></div>
                        {/if}
                        {/section}
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最新更新小说</h3>
                </div>
                <div class="body">
                    <ul class="updatelist">
                        {block method="novel.list" name="list" order="lastupdate" num=20 cachetime=300}
                        {loop=$list}
                        <li>
                            <span class="n"><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}"><strong>{$loop.novel.name}</strong></a></span>
                            <span class="c"><a href="{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}" title="{$loop.novel.name} {$loop.last.name}" target="_blank">{$loop.novel.name} {$loop.last.name}</a></span>
                            <span class="a"><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name}">{$loop.author.name}</a></span>
                            <span class="t">{$loop.last.time|date="H:i"}</span>
                        </li>
                        {/loop}
                    </ul>
                </div>
                <div class="footer tar">
                    本站启用了缓存策略，该列表显示<span class="num">5</span>分钟之前的更新
                </div>
            </div>
        </div>
        <div class="w-right">
            <div class="card">
                <div class="header line">
                    <h3>热门小说</h3>
                </div>
                <div class="body" style="height:245px;overflow: hidden">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="allvisit" num=8}
                        {section loop=$list}
                        <li>
                            <i {if $i.order<4}class="first"{/if}>{$i.order}</i>
                            <span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span>
                            <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
                        </li>
                        {/section}
                    </ul>
                </div>
            </div>
            <div class="card mt20 pt-tab">
                <div class="header tab pt-tab-nav">
                    <ul class="clearfix">
                        {block method="rank.info" name=rankInfo key=weekvisit}
                        <li class="active">{$rankInfo.name}</li>
                        {block method="rank.info" name=rankInfo key=monthvisit}
                        <li>{$rankInfo.name}</li>
                    </ul>
                </div>
                <div class="body pt-tab-con">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="monthvisit" num=17}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                    <ul class="rightlist none">
                        {block method="novel.list" name="list" order="weekvisit" num=17}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最多收藏</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="mark" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最新入库</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="postdate" num=10}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span>{$loop.novel.postdate|date="m-d"}</span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="card mt20">
        <div class="header line">
            <h3>友情链接</h3>
        </div>
        <div class="body">
            <div class="rightlist">
                {block method="friendlink.list" name=list}
                {loop=$list}
                <a href="{$loop.url}" target="_blank" class="color4" {if !empty($loop.color)} style="color: {$loop.color};" {/if} title="{$loop.name}{$loop.intro}">
                {$loop.is_bold|default='','<strong>'}{$loop.name}{$loop.is_bold|default='','</strong>'}
                </a>
                {/loop}
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>
